<template>
    <el-input :model-value="modelValue" @update:modelValue="updateModelValue"></el-input>
</template>

<script lang="ts" setup>
defineProps<{
    modelValue: string;
}>();

const emit = defineEmits<{
    (e: 'update:modelValue', modelValue: string): void;
}>();

const updateModelValue = (modelValue: string) => {
    emit('update:modelValue', modelValue);
};
</script>

<style lang="scss"></style>
